% Process all videos in a folder

% Prepare file for output features
fileName = 'output.csv';
delete(fileName);

input_files = dir(fullfile('data/cartoon/'));
for i = 1:size(input_files,1)
    % Get input file
    name = input_files(i).name;
    if name(1) ~= '.'
        fid = fopen(fileName, 'at');
        info = Process(strcat('data/cartoon/', name));
        for i=1:size(info,2)
            fprintf(fid, '%f,', info(1,i));
        end
        fprintf(fid, '%s\n', 'cartoon');
        fclose(fid); 
    end
end
